@import "reset.scss";


@import "swiper.scss";




.page-main{
    padding-top: 4px;
    padding-bottom: 12px;
    background-color: #f5f5f5;

    .container{
        @include container();

        .home-banner-box{
            height: 120px;
            margin: 22px 0;
            overflow: hidden;

            a{

                img{
                    width: 100%;
                    height: 100%;
                }
            }
        }
        .home-brick-box{
            margin-bottom: 8px;

            .box-hd{
                position: relative;
                height: 58px;

                .title{
                    margin: 0;
                    font-size: 22px;
                    font-weight: 200;
                    line-height: 58px;
                    color: #333;
                }
                .more{
                    position: absolute;
                    top: 0;
                    right: 0;

                    a{
                        font-size: 16px;
                        line-height: 58px;
                        color: #424242;

                        .iconfont-arrow-right-big{
                            padding: 4px;
                            margin-left: 8px;
                            font-size: 24px;
                            line-height: 12px;
                            color: #b0b0b0;
                        }
                    }
                }
            }
            .box-bd{

                .row{

                    .span4{
                        width: 234px;
                        float: left;
                        min-height: 1px;

                        ul{
                            height: 614px;

                            li{
                                position: relative;
                                width: 234px;
                                transition: all .2s linear;

                                &:hover{
                                    @include liShadow()
                                }
                                
                                a{
                                    display: block;
                                    width: 100%;
                                    height: 100%;

                                    img{
                                        width: 100%;
                                        height: 100%;
                                    }
                                }
                            }
                        }
                    }
                    .span16{
                        width: 978px;
                        float: left;
                        margin-left: 14px;
                        min-height: 1px;

                        .brick-list{
                            width: 992px;
                            height: 614px;
                            margin-left: -14px;

                            .brick-item{
                                height: 300px;
                                position: relative;
                                float: left;
                                width: 234px;
                                margin-left: 14px;
                                margin-bottom: 14px;
                                background: #fff;
                                transition: all .2s linear;


                                &:hover{
                                    @include liShadow();
                                }
                                a{
                                    display: block;
                                    height: 100%;
                                    box-sizing: border-box;
                                    padding: 20px 0;

                                    .figure-img{
                                        width: 160px;
                                        height: 160px;
                                        margin: 0 auto 18px;

                                        img{
                                            width: 100%;
                                            height: 100%;
                                        }
                                    }
                                    .title{
                                        margin: 0 10px 2px;
                                        text-align: center;
                                        text-overflow: ellipsis;
                                        white-space: nowrap;
                                        overflow: hidden;
                                        font-size: 14px;
                                        font-weight: 400;
                                        color:#333;
                                    }
                                    .desc{
                                        margin: 0 10px 10px;
                                        height: 18px;
                                        font-size: 12px;
                                        color: #b0b0b0;
                                        text-align: center;
                                        text-overflow: ellipsis;
                                        white-space: nowrap;
                                        overflow: hidden;
                                    }
                                    .price{
                                        margin: 0 10px 14px;
                                        text-align: center;
                                        color: #ff6700;
                                    }
                                }
                            }
                        }
                    }
                }
                .video-list{
                    width: 1240px;
                    height: 285px;

                    .video-item{
                        position: relative;
                        float: left;
                        width: 296px;
                        height: 100%;
                        margin-bottom: 14px;
                        text-align: center;
                        background: #fff;
                        transition: all .2s linear;

                        &:hover{
                            @include liShadow();
                        }
                        a{
                            display: block;
                            height: 100%;
                            box-sizing: border-box;
                            // padding: 20px 0;

                            .figure-img{
                                width: 100%;
                                // height: 160px;
                                margin: 0 0 28px;

                                img{
                                    width: 100%;
                                    height: 100%;
                                }
                                i{
                                    position: absolute;
                                    left: 20px;
                                    z-index: 100;
                                    font-size: 24px;
                                    bottom: 120px;
                                    color: #fff;
                                }
                            }
                            .title{
                                margin: 0 14px 6px;
                                text-align: center;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                                overflow: hidden;
                                font-size: 14px;
                                font-weight: 400;
                                color:#333;
                            }
                            .desc{
                                margin: 0 10px 10px;
                                height: 18px;
                                font-size: 12px;
                                color: #b0b0b0;
                                text-align: center;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                                overflow: hidden;
                            }
                            .price{
                                margin: 0 10px 14px;
                                text-align: center;
                                color: #ff6700;
                            }
                        }
                    }
                    li+li{
                        margin-left: 14px;
                    }
                }
            }
        }
    }
}